<?php
/**
 * Created by PhpStorm.
 * User: 石季柱
 * Date: 2017/7/10
 * Time: 13:56
 */

namespace App;


use Illuminate\Database\Eloquent\Model;

class Goods extends Model
{
    public $timestamps = false;

    protected $fillable = [
        'name', 'price', 'number', 'band_id'
    ];

    public function band()
    {
        return $this->belongsTo('App\Band', 'band_id');
    }
}